package com.unit.domain;

import java.util.Map;

import com.alibaba.fastjson.JSON;
import com.unit.enumeration.CsvCharset;

public class TestDataContext {
	
	public String tableName;
	public String idColumn;	
	public String[] columnNameList;	
	/**
	 * 属性与字段不一致的对应关系
	 */
	public Map<String, String> specialColumnMapper;
	
	public CsvCharset csvCharset;
	public String csvPath;
	public String dbType;

	
	public Map<Long, Map<String, String>> dataBeforeTest;	
	public Map<Long, Map<String, String>> dataAfterTest;
		
	public boolean isOracle(){
		return "oracle".equals(dbType);
	}

	public String toString() {
		return JSON.toJSONString(this);
	}
}
